/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.institution.bean;

import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

@ApiModel(value = "法规目录", description = "法规目录实体类")
public class LawCategory extends BaseEntity {
    @ApiModelProperty(value = "目录名称", name = "categoryName", required = true)
    private String categoryName;

    @ApiModelProperty(value = "水司code", name = "corpCode", required = true)
    private String corpCode;

    @ApiModelProperty(value = "排序", name = "indicationIndex")
    private Integer indicationIndex;

    @ApiModelProperty(value = "状态", name = "目录状态:0正常,1删除")
    private Integer state;

    @ApiModelProperty(value = "上级目录", name = "pid")
    private String pid;

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }

    private List<LawCategory> childList;

    public List<LawCategory> getChildList() {
        return childList;
    }

    public void setChildList(List<LawCategory> childList) {
        this.childList = childList;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getIndicationIndex() {
        return indicationIndex;
    }

    public void setIndicationIndex(Integer indicationIndex) {
        this.indicationIndex = indicationIndex;
    }


    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }


    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }
}
